package com.ml.loan.common.constants;



/**
 * @Author syh
 * @Description 数据上报url配置
 * @Date 15:43 2021/8/31
 * @Param
 * @return
 **/
public class ReportDataConstant {

    public interface wechat {
        /**
         * token url
         */
        String TOKENURL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

        /**
         * 创建数据源url
         */
        String USERACTIONURL = "https://api.weixin.qq.com/marketing/user_action_sets/add?version=v1.0&access_token=ACCESSTOKEN";

        /**
         * 获取微信openid
         */
        String OPENIDURL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

        /**
         * 微信数据上报
         */
        String REPORTURL = "https://api.weixin.qq.com/marketing/user_actions/add?version=v1.0&access_token=ACCESSTOKEN";
    }
}
